From 741fad235ce073fae20aec7f38ee8e9772681f13 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 10 Oct 2006 16:02:30 +0100 Subject: [PATCH] [XEND] Add missing line from changeset 11653:3b7e11cbeb940 Signed-off-by: Keir Fraser --- tools/python/xen/util/blkif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/util/blkif.py b/tools/python/xen/util/blkif.py index c9a9dc9e6a..8c982b7beb 100644 --- a/tools/python/xen/util/blkif.py +++ b/tools/python/xen/util/blkif.py @@ -64,7 +64,7 @@ def blkdev_uname_to_file(uname): """Take a blkdev uname and return the corresponding filename.""" fn = None if uname.find(":") != -1: - (typ, fn) = uname.split(":") + (typ, fn) = uname.split(":", 1) if typ == "phy" and not fn.startswith("/"): fn = "/dev/%s" %(fn,) if typ == "tap": -- 2.30.2